package my.edu.model.bills.purchase.service;

import com.baomidou.mybatisplus.extension.service.IService;
import my.edu.model.bills.purchase.entity.PurchaseSalesExpenses;
import my.edu.model.bills.purchase.entity.dto.PurchaseSalesExpensesDTO;
import my.edu.model.bills.purchase.entity.vo.PurchaseOrderVO;

import java.util.List;

public interface IPurchaseSalesExpensesService extends IService<PurchaseSalesExpenses> {
    void saveBatchByDTO(String billsType, List<PurchaseSalesExpensesDTO> purchaseSalesExpensesDTOList, Long noId, Long subjectId, String subjectName);

    void updateBatchByDTO(Long orderId, String billsType, List<PurchaseSalesExpensesDTO> purchaseSalesExpensesDTOList, Long id, Long subjectId, String subjectName);

    void removeByOrderTypeAndId(String billsType, List<Long> ids);

    void getDetail(List<PurchaseOrderVO> records, String type);
}
